//package controller;
//
//
//@RequestMapping(value = "/check/username",method = RequestMethod.GET)
//public void checkUsername(String username,HttpServletResponse response) throws IOException {
//        User existUser = userService.isExistUser(username);
//        if (existUser != null){
//        response.getWriter().write("no");
//        }else {
//        response.getWriter().write("ok");
//        }
//        }